class CreateUsernames < ActiveRecord::Migration
  def self.up
    create_table :usernames do |t|
      t.integer :user_id
      t.string :username, :unique => true
      t.string :password
      t.integer :authentication_type_id

      t.timestamps
    end
  end

  def self.down
    drop_table :usernames
  end
end
